 function search(){
		var area_attr = '';
		area_attr += document.getElementById('province').value+'|';
		if(document.getElementById('eparchy_code').value!=''){
			area_attr += document.getElementById('eparchy_code').value+'|';
			if(document.getElementById('city_code').value!=''){
				area_attr += document.getElementById('city_code').value+'|';
			}
		}
		if(area_attr!="")
			document.getElementById('area_attr').value=area_attr;
		document.indexForm.submit();	 
	 }
function trim(val)
 {
	return val.replace(/(\s*$)/g, "");  
}

function delOneNews(val){
  if(window.confirm('确认删除吗?')){
 	  window.location.href='/doTradeReg.do?pkid='+val+'&bpm_id=6382'; 
  } 		
}  	

function subForm(){
	document.updateForm.submit();	 
}